<!DOCTYPE html>
<html lang="en" xmlns = "http://www.w3.org/1999/xhtml"
    xmlns:th = "http://www.thymeleaf.org"
    xmlns:sec = "http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head>
    <meta charset="UTF-8">
    <title>Spittr</title>
</head>
<body>
    <h1>WelCome to Spittr</h1>
    <div sec:authorize = "isAuthenticated()">
        Hello <span sec:authentication="name">someone</span>
        <!--Hello-->
    </div>
    <a th:href="@{/spittles}">Spittles</a>
    <a th:href="@{/spitter/register}">Register</a>
    <a th:href="@{/logout}">Logout</a>
</body>
</html>